<#assign seaConfig = {
            'alias':{
                'edm_ope/css/edm-review.css' : 'edm_ope/css/edm-review.css',
                'edm_ope/channel/edm-review' : 'edm_ope/channel/edm-review.js'
            }
           }/>
<@page title="离职是否后悔-公司点评" useheader="compact" static=seaConfig
	assets=["/images/favicon.ico",
			"/css/dajie.css"
			"/js/dajie.js"
			"/static/libs/seajs/sea.js"
			"/static/libs/street/street.js"
			"/up/autoheader/loadheader.js"
			]>
			
<@layout.master>
	  <script>
      
        seajs.config(seaConfig);
        street.sea.insertStyle(seaConfig);
		
    </script>
    <script type="text/javascript">    
	    _staticHeader = {
	        isMini : false,
	        isC : false,
	        currentChannel: 'NONE'
	    };
	    G_dj_head_getHeader();
	    
	    $(document).ready(function() {
	     var status=$("#status").val();
	   		 if(status==0){
	   		 $("#noDes").hide();
	    	 $("#yesDes").show();
	    }else{
	     	 $("#yesDes").hide();
	   		 $("#noDes").show();
	    }
		}); 
	</script>
	<div class="bg-wrap">
		<form class="shadow-box clearfix" id="dp-form">
			<div class="left">
				<div class="left-bg">
					<h4 class="title">
						<span class="title-left">最近24小时大家的选择</span>
					</h4>
						<p class="score clearfix">
						<span class="yes">
							<span class="result" name="yesNum">${edmCorpReviewInfo.yesNum}</span>
						</span>
						<span class="no" >${edmCorpReviewInfo.noNum}</span>
						<span class="abs-person"></span>
						<span class="des y-des" id="yesDes"><span class="percent"></span>%的同学和你做出了同样的选择
							<span class="triangle y-triangle"></span>
						</span>
						<span class="des n-des" id="noDes">多想想, 总没有坏处
							<span class="triangle n-triangle"></span>
						</span>
						
					</p>
					<input type="hidden" id="status" name="status" value="${status}"/>
					<h4 class="title">
						<span class="title-left">分享成功!</span>
					</h4>
					<div class="info clearfix">
						<img class="user-head" src="http://static.dajieimg.com/edm_ope/image/anon.png"/>
						<div class="floatR">
							<p class="user-inf">
								<span class="right-bar">
									<em class="txt">公司点评:</em>
									<span class="dp-star dp-star-s<#if (reviewDetail.impressionCorpScore)??>${reviewDetail.impressionCorpScore}"></#if></span>
									<em class="txt">CEO投票:</em>
									<em class="<#if reviewDetail.impressionCeoScore?? && reviewDetail.impressionCeoScore==0>dp-ceo cai<#else>dp-ceo ding</#if>"></em>
								</span>
								匿名用户&nbsp;前员工
								
							</p>
							<div class="dp-txt-box">
								<a href="http://www.dajie.com/corp/${corpId}/comment">${reviewDetail.commentCorp}</a>
							</div>
							<div class="dp-bottom-bar">
								<span class="time">${reviewDetail.createDate}</span>
								<span>
									<a href="http://www.dajie.com/corp/${corpId}/comment" class="useful">赞</a><em>(${reviewDetail.commentUseful})</em>
								</span>
								<span>
									<a href="http://www.dajie.com/corp/${corpId}/comment" class="comment">评论</a><em>(${reviewDetail.commentCount})</em>
								</span>
							</div>
						</div>
					</div>
					<a class="other-dp" href="http://www.dajie.com/corpreview/rank/index">看看更多点评</a>			
				</div>
			</div>
			
			<div class="right">
				<div class="right-bg">
					<h4 class="hot">热门职位推荐</h4>
					<ul class="hot-list">
						<#list simpleJobs as simpleJob>
						<li>
							<a class="position" target="_blank" href="http://job.dajie.com/${simpleJob.jid}.html">${simpleJob.title}</a>
							<p class="desc clearfix">
								<span class="city">工作城市:&nbsp;&nbsp;&nbsp;${simpleJob.city}</span>
								<span class="salary">每月薪水:&nbsp;${simpleJob.salary}-${simpleJob.salaryEnd}</span>
							</p>
						</li>
						<#if (simpleJob_index>5) >
    						<#break>
  						</#if>
						</#list> 
				
					</ul>
					<p class="more clearfix">
						<a class="arr" href="http://job.dajie.com/"></a>
						<a class="txt" href="http://job.dajie.com/">查看更多职位</a>
					</p>				
				</div>
			</div>
		</form>
	</div>
	<script type="text/javascript">
		
		 $("#dj-header-wrap").attr("class","dj-top-normal dj-top-normal");
	    $(function (){
		    // 邮件页点选结果决定数据条的显示比例
			var totalW = $('.score').width();
			var yesScore = parseInt($('.score .yes .result').html());
			var noScore = parseInt($('.score .no').html());
			var yScale = yesScore/(yesScore+noScore);
			$('.score .yes').css('width', (yScale*100)+'%');
			$('.score .no').css('width', (1-yScale)*100+'%');
			var $xx = $('.score .y-des .percent');
			var xx = Math.ceil(yScale*100);
			if(xx >= 100)xx = 100;
			$xx.html(xx);
	    });
	
	</script>
	
	<script type="text/javascript">
		$(function (){
			seajs.use('edm_ope/channel/edm-review');
			seajs.use('edm_ope/css/edm-review.css');
		});		
		
	</script>
	
<#--<#include "index-ingore.ftl"/> -->
</@layout.master>
</@page>